#include "SalesItem.h"  
#include <iostream>  
using namespace std;

int main() 
{  
	SalesItem item1, item2;  
	
	cout << "Enter details for first book:\n";  
	item1.input();  
	
	cout << "Enter details for second book:\n";  
	item2.input();  
	
	if (item1.isbn() == item2.isbn()) 
	{  
		item1.combine(item2);  
		cout << "Combined book details:\n";  
		item1.output();  
	} 
	else 
	{  
		cout << "ISBNs";
	}
	return 0;
}
